package com.shigu.admin.manager.actions;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * 错误页面
 * Created by zhaohongbo on 16/5/21.
 */
@Controller
public class ErrorAction extends BaseAction{

    @RequestMapping(value = "err404",method = RequestMethod.GET)
    public String err404(){
        return "sys/404.ftl";
    }

    @RequestMapping(value = "err500",method = RequestMethod.GET)
    public String err500(){
        return "sys/500";
    }
}
